{+include file='header.html'+}
<style>
td, th {
	height:30px;
	line-height:30px;
}
select {
	width:80px;
}
tr:hover{background:#DEEFD8}
label.page{font-weight:none;border:1px solid #699;margin-right:5px;padding:3px;cursor:pointer;color:#000}
.xbody1{width:1260px;}

.wd120{width:120px;}
</style>
</head><body>
<script id=myjs language="javascript">var js=1;var sss='auto';</script>
<div class="xbody1">
 <table class="tinfo wd100">
  <Tr>
   <td colspan="3"><!-- <label class="page" v='warn'>警示金额设置</label>

   <label class="page click" v='auto'>自动降倍设置</label>-->
   <input type="button" class="btn1 btnf send" value="提交修改" /></TD>
     <TD colspan="13">  
<input type="button" style="width:200px;" gid='{+$gid+}' class="btn1 btnf yiwotongbu" value="以我同步{+$flname+}" />

</TD>
  </Tr>

  <TR>
  <th class="wd120"><input type="checkbox"  class="all" />全选</th>
   <th  class="wd120"> <select class="game" style="width:120px;">
     
     
     
 {+section name=i loop=$game+}
  
     
     
     <option value="{+$game[i].gid+}" {+if $game[i].gid==$gid+}selected{+/if+}>{+$game[i].gname+}</option>
     
     
     
  {+/section+}
 
    
    
    </select>
   </th>
   <th class="wd120">类别</th>
   <th>开关</th>
   <th>预降</th>
   <th>计算方法</th>
   <th>开始下调金额/下调赔率</th>
   <th>金额变动值/下调赔率</th>
   <th>开始下调期数/下调赔率[限快开]</th>
   <th>停止下注金额</th>
   <th>最低赔率</th>
  </TR>
  {+section name=i loop=$auto+}
  <tr f='{+$auto[i].ftype+}' class="nr">
   <td><input type="checkbox"   /><input type="button" class="btn1 btnf pantb" value="同步选中" /></td>
   <th >{+$auto[i].gname+}</th>
   <td >{+$auto[i].name+}</td>
   <td><input type="checkbox" class="ifok" {+if $auto[i].ifok==1+}checked{+/if+} /></td>
   <td><input type="checkbox" class="yj" {+if $auto[i].yj==1+}checked{+/if+} /></td>
   <td><select class='ifzc'>
     <option {+if $auto[i].ifzc==0+}selected{+/if+} value="0">全部</option>
     <option {+if $auto[i].ifzc==1+}selected{+/if+}  value="1">占成</option>
    </select></td>
   <td><input type="text" class="startje"  value="{+$auto[i].startje+}" />
    /
    <input type="text" class="startpeilv"  value="{+$auto[i].startpeilv+}" /></td>
   <td><input type="text" class="addje"  value="{+$auto[i].addje+}" />
    /
    <input type="text" class="attpeilv"  value="{+$auto[i].attpeilv+}" /></td>
   <td><input type="text" class="qsnum"  value="{+$auto[i].qsnum+}" />
    /
    <input type="text" class="qspeilv"  value="{+$auto[i].qspeilv+}" /></td>
   <td><input type="text" class="stopje"  value="{+$auto[i].stopje+}" /></td>
   <td><input type="text" class="lowpeilv"  value="{+$auto[i].lowpeilv+}" /></td>
  </tr>
  {+/section+}
 </table>
</div>
<div id='test'></div>
</body>
</html>